package com.lagou.demo.service.impl;

import com.lagou.demo.service.IDemoService;
import com.lagou.edu.mvcframework.annotations.LagouService;

import java.util.ArrayList;
import java.util.List;

@LagouService("demoService")
public class DemoServiceImpl implements IDemoService {
    @Override
    public String get(String name) {
        System.out.println("service 实现类中的name参数：" + name) ;
        return name;
    }


    public static void main(String[] args) {
        List<String> a = new ArrayList<>();
        a.add("aaa");
        a.add("bbb");
        System.out.println(a.contains("aaa"));
        System.out.println(a.contains("b"));
    }
}
